package be.dch.objectprops.parser;

import java.lang.reflect.Field;

public interface Parser {

    public abstract boolean handleAsWriter(Object result);

    public abstract boolean handleAsReader(Field field);

    public abstract void write(Object result, StringBuilder key);

    public abstract Object read(final StringBuilder key, Object result);

    public abstract void read(final StringBuilder key, final Field collection, Object result);

}